github.com/refraction-networking/utls.keyShare.data (field)
22 uses
github.com/refraction-networking/utls (current package)
common.go#L168: data []byte
handshake_client.go#L182: {group: X25519MLKEM768, data: append(mlkemEncapsulationKey, x25519EphemeralKey...)},
handshake_client.go#L188: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L198: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L354: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L585: ecdhePeerData := hs.serverHello.serverShare.data
handshake_client_tls13.go#L591: ecdhePeerData = hs.serverHello.serverShare.data[mlkem.CiphertextSize768:]
handshake_client_tls13.go#L599: ecdhePeerData = hs.serverHello.serverShare.data[:x25519PublicKeySize]
handshake_client_tls13.go#L619: ciphertext := hs.serverHello.serverShare.data[:mlkem.CiphertextSize768]
handshake_client_tls13.go#L638: ciphertext := hs.serverHello.serverShare.data[x25519PublicKeySize:]
handshake_messages.go#L300: exts.AddBytes(ks.data)
handshake_messages.go#L647: !readUint16LengthPrefixed(&clientShares, &ks.data) ||
handshake_messages.go#L648: len(ks.data) == 0 {
handshake_messages.go#L836: exts.AddBytes(m.serverShare.data)
handshake_messages.go#L1003: !readUint16LengthPrefixed(&extData, &m.serverShare.data) {
handshake_server_tls13.go#L249: ecdhData := clientKeyShare.data
handshake_server_tls13.go#L267: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L279: k, err := mlkem.NewEncapsulationKey768(clientKeyShare.data[:mlkem.EncapsulationKeySize768])
handshake_server_tls13.go#L295: hs.hello.serverShare.data = append(ciphertext, hs.hello.serverShare.data...)
u_public.go#L635: return keyShare{group: ks.Group, data: ks.Data}
u_public.go#L639: return KeyShare{Group: ks.group, Data: ks.data}
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |